﻿<Window x:Class="Example.Standalone.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
        xmlns:crumble="clr-namespace:Crumble;assembly=Crumble"
        Title="MainWindow" Height="600" Width="800">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="24" />
            <RowDefinition Height="*" />
            <RowDefinition Height="24" />
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="120" />
            <ColumnDefinition Width="3*" />
        </Grid.ColumnDefinitions>
        <Menu Grid.Column="0" Grid.ColumnSpan="2" Grid.Row="0">
            <MenuItem Header="_File">
                <MenuItem Header="_Exit"/>
            </MenuItem>
        </Menu>
        <ListView Name="ReportList" Grid.Column="0" Grid.Row="1" Background="AntiqueWhite" MouseDoubleClick="ReportList_MouseDoubleClick">
            <ListView.View>
                <GridView>
                    <GridViewColumn Width="0" Header="UniqueID" DisplayMemberBinding="{Binding UniqueID}"/>
                    <GridViewColumn Width="120" Header="Reportname" DisplayMemberBinding="{Binding ReportName}"/>
                </GridView>
            </ListView.View>
        </ListView>
        <crumble:CrumbleCore Name="CrumbleCoreControl" Grid.Column="1"  Grid.Row="1" HorizontalAlignment="Stretch" VerticalAlignment="Stretch"></crumble:CrumbleCore>
        <StatusBar Grid.Row="2" Grid.ColumnSpan="2" Grid.Column="0">
            <StatusBar.ItemsPanel>
                <ItemsPanelTemplate>
                    <Grid>
                        <Grid.RowDefinitions>
                            <RowDefinition Height="*"/>
                        </Grid.RowDefinitions>
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="4*"/>
                            <ColumnDefinition Width="Auto"/>
                            <ColumnDefinition Width="*"/>
                            <ColumnDefinition Width="*"/>
                        </Grid.ColumnDefinitions>
                    </Grid>
                </ItemsPanelTemplate>
            </StatusBar.ItemsPanel>
            <StatusBarItem>
                <TextBlock Name="LeftStatusBarText"/>
            </StatusBarItem>
            <StatusBarItem Grid.Column="1">

            </StatusBarItem>
            <StatusBarItem Grid.Column="2">

            </StatusBarItem>
            <StatusBarItem Grid.Column="3">
                <TextBlock Name="RightStatusBarText" />
            </StatusBarItem>
        </StatusBar>
    </Grid>
</Window>
